﻿
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;


namespace Timetable.Base.Entities
{
    [DataContract(IsReference = true)]
    public class Department: BaseEntity 
    {
        [DataMember]
        public string Name { get; set; }
        [DataMember]
        public string ShortName { get; set; }

        public Faculty Faculty { get; set; }
    }
}
